#ifndef _PRINT_H
#define _PRINT_H
#include <stdint.h>
struct FormatOut_t
{
	void(*OutOK)(void);
	void(*OutInvalid)(void);
	void(*OutBusy)(uint8_t );
	void(*OutError)(uint8_t);
	void(*OuttMessage)(char *);
	void(*OutHex)(char *,uint8_t *,uint8_t , char *);
	void(*Out2Hex)(char *, uint16_t *, uint8_t, char *);
	void(*OutDec)(char *, uint32_t, char *);
	void(*LogInfo)(char * ,uint32_t, uint16_t );
	int(*Print)(const char* ,...);
};

extern struct FormatOut_t FormatOut;
extern void FormatOutInit(void);

#endif // _PRINT_H



